package com.admin.utils.word;

import java.util.Random;

/**
 * @author kuaiting
 */
public class WordUtil {
	public static String getRandomWord(Integer unm){
		String words="zxcvbnmasdfghjklqwertyuiopZXCVBNMASDFGHJKLQWERTYUIOP";
		StringBuilder res=	new StringBuilder();;
		for (int i = 0; i < unm; i++) {
			int n = new Random().nextInt(words.length());
			char c = words.charAt(n);
			res.append(c);
		}
		return res.toString();
	}

}
